package com.spring.bean;

public class StudentBean {

	private int studentId;
	private String studentName;
	public int getStudentId() {
		return studentId;
	}

	public void setStudentId(int studentId) {
		this.studentId = studentId;
	}

	public String getStudentName() {
		return studentName;
	}

	public void setStudentName(String studentName) {
		this.studentName = studentName;
	}

	public StudentBean() {
	}

	public StudentBean(int studentId, String studentName) {
		this();
		this.studentId = studentId;
		this.studentName = studentName;
	}
	@Override
public String toString(){
		return ""+studentId+":"+studentName;
	}
}
